<?php
	# File: contants_inc.php
	# Last modification: 18.05.2011
	# Author(s): kivio.wanderley
	# 
	# All constants used.
?>

<?php
	
	# SESSIONS
	define( 'SESSION_EXPIRE_SECS',			600 );
	define( 'SESSION_REGENERATE_ID_SECS',	10 );
	
	# DAYS
	define( 'SATURDAY',		7 );
	define( 'SUNDAY',		1 );
	define( 'MONDAY',		2 );
	define( 'TUESDAY',		3 );
	define( 'WEDNESDAY',	4 );
	define( 'THURSDAY',		5 );
	define( 'FRIDAY',		6 );
	
	# MONTHS
	define( 'JANUARY',		101 );
	define( 'FEBRUARY',		102 );
	define( 'MARCH',		103 );
	define( 'APRIL',		104 );
	define( 'MAY',			105 );
	define( 'JUNE',			106 );
	define( 'JULY',			107 );
	define( 'AUGUST',		108 );
	define( 'SEPTEMBER',	109 );
	define( 'OCTOBER',		110 );
	define( 'NOVEMBER',		111 );
	define( 'DECEMBER',		112 );
	
	# HEARD ABOUT
	define( 'FRIENDS',		10 );
	define( 'POSTER',		11 );
	define( 'BANNER',		12 );
	define( 'WEB_PAGE',		13 );
	define( 'BROCHURE',		14 );
	define( 'TELEVISION',	15 );
	
	# MARITAL STATUS
	define( 'SINGLE',		20 );
	define( 'MARRIED',		21 );
	define( 'SEPARATED',	22 );
	define( 'DIVORCED',		23 );
	define( 'WIDOWED',		24 );
	
	# TYPES
	define( 'PEOPLE',		30 );
	define( 'TEACHER',		31 );
	define( 'STUDENT',		32 );
	define( 'CLASS_',		33 ); //The word "CLASS" is already used by system

	# ACCESS
	define( 'ACCESS_DENIED',	1000 );
	
	define( 'ADMINISTRATOR',	2001 );
	define( 'EMPLOYEE',			2002 );
	define( 'VISITOR',			2003 );
	
	# INFO
	define( 'I_ERR',	0);
	define( 'I_OK',		1);
	define( 'I_WARN',	2);
	
?>